package com.deyuanyun.pic.pbf.service.impl;


import com.deyuanyun.pic.pbf.domain.RepairDepartment;
import com.deyuanyun.pic.pbf.mapper.RepairDepartmentMapper;
import com.deyuanyun.pic.pbf.service.RepairDepartmentService;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RepairDepartmentServiceImpl implements RepairDepartmentService {
    @Autowired
    private RepairDepartmentMapper repairDepartmentMapper;

    private static final Logger logger = LoggerFactory.getLogger(RepairDepartmentServiceImpl.class);

    public RepairDepartment selectByPrimaryKey(String id) {
        return this.repairDepartmentMapper.selectByPrimaryKey(id);
    }

    public int deleteByPrimaryKey(String id) {
        return this.repairDepartmentMapper.deleteByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(RepairDepartment record) {
        return this.repairDepartmentMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(RepairDepartment record) {
        return this.repairDepartmentMapper.updateByPrimaryKey(record);
    }

    public int insert(RepairDepartment record) {
        return this.repairDepartmentMapper.insert(record);
    }
}